<?php $ordenada = ($ordenada<0)?$ordenada:'+'.$ordenada; ?>

<table  class="void">
  <tr>
    <td class="top">
    
      <table  class="detail" width="100%">

        <tr class="title">
          <td colspan="2">informaci&oacute;n General </td>
        </tr>

        <tr class="detail2">

          <td class="label">Caso de Estudio:</td>
          <td class="valuediff nowrap"><?php echo $use_case->getName() ?></td>
        </tr>
        <tr class="detail">
          <td class="label">Descripci&oacute;n:</td>
          <td class="sizeNormal nowrap"><?php echo $use_case->getDescription() ?></td>

        </tr>

        <tr class="detail2">
          <td class="label">Fecha de Creaci&oacute;n:</td>
          <td class="sizeNormal bold nowrap"><?php echo $use_case->getCreatedAt() ?></td>
        </tr>
        <tr class="detail">
          <td class="label">Variables de Entrada:</td>
          <td class="value">
            <table>
              <tr>
                <td><b>X</b><br><b>Y</b></td>
                <?php foreach($coords as $coord): ?>
                <td><?php echo $coord->getCoordX()?><br><?php echo $coord->getCoordY() ?></td>
                <?php endforeach;?>
              </tr>
            </table>
          </td>
        </tr>
        <tr class="detail2">
          <td class="label">Informacion de la Regresi&oacute;n:</td>

          <td class="value">
            <table>
            <tr>
              <td>Coefinciente de Correlacion:</td>
              <td><?php echo $correlacion ?></td>
            </tr>
            <tr>
              <td>Error X:</td>
              <td><?php echo $error_a ?></td>
            </tr>
            <tr>
              <td>Error Y:</td>
              <td><?php echo $error_b ?></td>
            </tr>
            </table>
          </td>
        </tr>
        <tr class="detail">
          <td class="label">Funci&oacute;n Resultado</td>
          <td class="value"><b>Y = <?php echo $pendiente ?></b>*<b>X</b><?php echo $ordenada ?></td>
        </tr>
      </table>
    </td>
    <td class="top">
    </td>
  </tr>
</table>
